package com.huage.courseplatform.application.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="学生请假参数",description="学生请假参数")
public class StudentLeavePARAM implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotEmpty
    @ApiModelProperty(value = "学生Id",required = true)
    private String studentId;

    @NotEmpty
    @ApiModelProperty(value = "课程Id",required = true)
    private Integer periodId;

    @ApiModelProperty(value = "请假原因",required = true)
    private String reason;

}
